<!DOCTYPE html>
<html lang="en">
 <head>
  <meta charset="UTF-8">
  
 </head>
 <body>
  <script>
var user1 = {id:1,name:"张三"};
var user2 = Object.create({id:2,name:"李四"});    
document.write(user1.name);
document.write("<br/>");
document.write(user2.name);

  </script>
 </body>
</html>
